package com.sihan.framework.etm.entity;

import java.beans.Transient;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * etm_device_record
 * @author
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@Table(name = "jdx_etm_device_record")
public class EtmDeviceRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 是否删除
     */
    @JsonIgnore
    private Byte isDelete;

    /**
     * 通讯数据
     */
    @JsonIgnore
    private String rawData;

    /**
     * 绑定设备的id
     */
    private String deviceId;

    /**
     * 通讯的设备编号
     */
    private String deviceCode;

    private String type;

    /**
     * 电池电量
     */
    private Double electricityPercent;

    /**
     * 三项挂接_A
     */
    private Boolean hitchA;

    /**
     * 三项挂接_B
     */
    private Boolean hitchB;

    /**
     * 三项挂接_C
     */
    private Boolean hitchC;

    /**
     * 三项挂接_A
     */
    private Boolean g1;

    /**
     * 三项挂接_B
     */
    private Boolean g2;

    /**
     * 三项挂接_C
     */
    private Boolean g3;

    /**
     * 位置偏移
     */
    private Double positionOffset;


    private Integer alarm;


    private Integer positionalAccuracy;

    private BigDecimal geodeticHeight;


}
